#!/usr/bin/env python
# -*- coding: utf-8 -*-

from enum import Enum
from ctypes import c_int32, c_double, c_char, c_short

class THOST_TE_RESUME_TYPE(Enum):
	TERT_RESTART = 0
	TERT_RESUME = 1
	TERT_QUICK = 2
[[/*处理枚举*/]]
[[ range .]][[ if gt (len .FuncFields) 0]]
class [[ .FuncName ]](Enum):
    """[[ .Comment ]]"""
    [[ range .FuncFields ]]
    [[ .FieldType ]] = [[ .FieldName|atoi ]]
    """[[ .Comment ]]"""    [[ end ]]
[[ else]][[/*自定义类型*/]]
[[ .FuncName ]] = [[ .FuncTypeName|baseType ]]
"""[[ .Comment ]]"""[[ end ]]
[[ end ]]
